/*
 * @Author: liuxinjia 15201611813@163.com
 * @Date: 2023-08-14 15:10:26
 * @LastEditors: liuxinjia 15201611813@163.com
 * @LastEditTime: 2023-08-16 15:42:58
 * @FilePath: \TicketPrintWebPlatformd:\当前项目\马上签金融机构前端项目\gitLab\MashangqianWebByBank\src\config\global.js
 * @Description: 这是全局工具变量设置
 */
const TOKENNAME = 'token';
/* 线上接口  上传*/
const HTTP_REQUEST_URL = 'https://api.yoojet.com'
// const BASE_URL = 'https://api.yoojet.com'
// const BASE_URL = 'https://demoapi.yoojet.com'
//  const BASE_URL = 'http://192.168.1.111:5000'
// const BASE_URL = 'http://119.3.210.33:8800'
/* 加密接口 */
// const VERI_URL = 'https://veri.yoojet.com'

// const CHAIN_URL = 'https://api.yoojet.com'
const getHTTP_REQUEST_URL = () =>{
	return HTTP_REQUEST_URL
}
const setToken = (token) =>{
	 return uni.setStorageSync(TOKENNAME,token);
}
const getToken = () =>{
	  return uni.getStorageSync(TOKENNAME); 
}
const removeToken = () =>{
	  return uni.removeStorageSync(TOKENNAME);
}
   
export {
	getHTTP_REQUEST_URL,
	setToken,
	getToken,
	removeToken
}
    
